package com.ruoyi.travel.mapper;

import com.ruoyi.travel.domain.TravelItinerary;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface TravelItineraryMapper {
    /** 查询单个行程库 */
    TravelItinerary selectTravelItineraryByItineraryId(Long itineraryId);

    /** 查询行程库列表 */
    List<TravelItinerary> selectTravelItineraryList(TravelItinerary travelItinerary);

    /** 新增行程库（返回自增ID） */
    int insertTravelItinerary(TravelItinerary travelItinerary);

    /** 修改行程库 */
    int updateTravelItinerary(TravelItinerary travelItinerary);

    /** 批量删除行程库 */
    int deleteTravelItineraryByItineraryIds(Long[] itineraryIds);
}
